package com.atguigu.jinx.entity.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author steve
 * @since 2025-08-07
 */
@Getter
@Setter
@ToString
@TableName("candidate")
public class Candidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("user_job_order_id")
    private Long userJobOrderId;

    @TableField("name")
    private String name;

    @TableField("phone")
    private String phone;

    @TableField("resume_url")
    private String resumeUrl;

    @TableField("status")
    private Byte status;

    @TableField("interview_at")
    private LocalDateTime interviewAt;

    @TableField("onboard_at")
    private LocalDateTime onboardAt;

    @TableField("created_at")
    private LocalDateTime createdAt;
}
